package com.example.config;

import lombok.Data;
import org.aspectj.bridge.Message;

/**
 * @author zhangW
 * @create 2025-01-09-13:58
 */
@Data
public class Response<T> {
    private int status;
    private String message;
    private T data;

    public Response(int status, String message, T data) {
        this.status = status;
        this.message = message;
        this.data = data;
    }

    public Response(int status, String message) {
        this.status = status;
        this.message = message;
    }

    public Response(T data) {
        this.data = data;
    }
}
